﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StudentStatistics
{
    class StudentInfoTime : StudentInfo
    {

        public StudentInfoTime()
        {
            this.Loaded += StudentInfoTime_Loaded;
            base.viewbutton.IsHitTestVisible = false;
        }

        void StudentInfoTime_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            this.StudentRightRate.Text = base.StudentData.ConsumptionTime;
            this.StuedentName.Text = base.StudentData.Name;
            this.StudentRightRate.Foreground = BlueBrush;
            
        }
    }
}
